import getlink from "@/apis/request.js"
export default {
    state:{
        hotsou: [],
        hotlei: []
    },
    mutations:{
        ChangeSou(state,payload){
            state.hotsou = payload.hotsou;
            state.hotlei = payload.hotlei
        }
    },
    actions:{
        GetSou(context,payload){
            getlink(payload).then(ok=>{
                context.commit("ChangeSou",ok.data)
            })
        }
    },
    getters:{

    }
}